ITK Programmer's Guide |
|||||||||||
Table of contents |
Intro | General
| TCP Low Level |
TCP High Level |
UDP | DNS
| PPP
|
ITK_PPPStatus |
|||||||||||
Syntax: |
result := ITK_PPPStatus
|
||||||||||
Description: |
Returns the current status of PPP. |
||||||||||
Params: |
|
||||||||||
Example: |
If (ITK_PPPStatus=0) ` check if PPP is connected CONFIRM("Are you sure you want to connect ?") $ok := ok If (ok=1) $err := ITK_PPPOpen If ($err#0) $ok := 0 End If End If Else $ok := 1 End If If ($ok=1) $stream := ITK_TCPOpen("www.domain.com";80) ... |
ITK_PPPOpen |
|||||||||||
Syntax: |
result := ITK_PPPOpen
|
||||||||||
Description: |
Opens PPP connection. |
||||||||||
Params: |
|
||||||||||
Example: |
$err := ITK_PPPOpen ` Will open the PPP connection |
ITK_PPPClose |
||||||||||||||||
Syntax: |
result := ITK_PPPClose(closeType)
|
|||||||||||||||
Description: |
Closes PPP connection.
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
If (ITK_PPPStatus=1) CONFIRM("Do you want to close your PPP connection ?") If (ok=1) $err := ITK_PPPClose End If End If |